<?php

namespace App\Http\Controllers\Api;

use App\Services\AdvertisementService;
use Illuminate\Http\Request;

class AdvertisementsController extends Controller
{
    public function index(AdvertisementService $advertisementService, Request $request)
    {
        $adv = $advertisementService->adv();
        return $this->success($adv);
    }
}
